package it.softphone.commons.shared.security;

import java.io.Serializable;

/**
 * 
 * @author softphone
 *
 */
public interface User extends Serializable{

	public interface Role {
		
		void setId( String id );
		String getId();
		
		void setEnabled( boolean value );
		boolean isEnabled();
	}

	public interface Permission {
		
		void setId( String id );
		String getId();
		
		void setEnabled( boolean value );
		boolean isEnabled();
	}
	
	/**
	 * get user id 
	 * 
	 * @return id
	 */
	String getId();

	/**
	 * set user id 
	 * 
	 */
	void setId( String value );
	
}
